package cn.edu.cqupt.educationfoundation.votingsystem.model.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

/**
 * @program: votingsystem
 * @author: Yueyu
 * @create: 2019-10-28 11:51
 * @description:
 **/
@Data
@ToString
@ApiModel(value = "voteDto",description = "投票传入数据模型")
public class VoteDto {
    @ApiModelProperty(name = "activityId",value = "活动id",dataType = "int")
    private Integer activityId;
    @ApiModelProperty(name = "voteOptionId",value = "选项id",dataType = "int")
    private Integer voteOptionId;
    @ApiModelProperty(name = "voteUser",value = "投票人id",dataType = "int")
    private Integer voteUser;
    @ApiModelProperty(name = "macAddress",value = "mac地址",dataType = "string")
    private Integer macAddress;
    @ApiModelProperty(name = "ipAddress",value = "ip地址",dataType = "string")
    private Integer ipAddress;
}
